package com.wuyan.web.base.entity;

import javax.persistence.*;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;

/**
 * 岗位、职能表
 * 
 * @author wuyan
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PubPost {

    /**
     * null int(11) unsigned
     */
    private Integer id;

    /**
     * 岗位名称 varchar(32)
     */
    private String name;

    /**
     * 岗位编码 varchar(32)
     */
    private String code;

    /**
     * 行政级别 tinyint(2) unsigned
     */
    private Integer executiveLevel;

    /**
     * 所属部门 int(11) unsigned
     */
    private Integer dept;

    /**
     * 排序 int(3) unsigned
     */
    private Integer cfgSort;

    /**
     * 状态 tinyint(1) unsigned
     */
    private Integer status;

    /**
     * 备注 varchar(255)
     */
    private String remark;

    /**
     * 创建时间 timestamp
     */
    private LocalDateTime createTime;

    /**
     * 更新时间 timestamp
     */
    private LocalDateTime operateTime;

}
